*{
	padding: 0;
	margin: 0;
	box-sizing: border-box;
}

html{
    font-size: 10px
}

body{
	text-align: center;
	background-color: #080808;
	color: #fafafa;
}

h2{
	font-size: 4rem;
}
.container{
	position: relative;
	width: 300px;
	height: 300px;
	margin: 50px auto 60px;
	perspective: 1000px;
}
.container .cube{
	position: absolute;
	width: 100%;
	height: 100%;
	transform-style: preserve-3d;
	/*动画*/
	transition: transform 1s cubic-bezier(0.075, 0.82, 0.165, 1);
}
.container .cube img{
	width: 100%;
	height: 100%;
	display: block;
	position: absolute;
}

.img1{
	/*z-index: 1;*/
	transform: translateZ(150px);
}
.img2{
	transform: rotateX(-180deg) translateZ(150px);
}
.img3{
	transform: rotateY(90deg) translateZ(150px);
}
.img4{
	transform: rotateY(-90deg) translateZ(150px);
}
.img5{
	transform: rotateX(90deg) translateZ(150px);
}
.img6{
	transform: rotateX(-90deg) translateZ(150px);
}

h2{
    margin-bottom: 50px;
}

.image-buttons{
	display: grid;
	grid-template-columns:105px 105px 105px;
	grid-template-rows:85px 85px;
	justify-content: center;
	grid-gap: 15px;
}
.image-buttons input{
	width: 105px;
	outline: none;
	border: 2px solid #fafafa;
}
.image-buttons input:focus{
	border: 2px solid #e70;
}

.cube.noting{
	transform: translateZ(-150px) rotateX(-15deg) rotateY(18deg);
}



.cube.show-image-1{
	transform: translateZ(-150px);
}

.cube.show-image-2{
	transform: translateZ(-150px) rotateX(180deg) ;
}

.cube.show-image-3{
	transform: translateZ(-150px) rotateY(-90deg);
}

.cube.show-image-4{
	transform: translateZ(-150px) rotateY(90deg);
}

.cube.show-image-5{
	transform: translateZ(-150px) rotateX(-90deg);
}

.cube.show-image-6{
	transform: translateZ(-150px) rotateX(90deg);
}

